package cn.tedu._04mvcweibo.mapper;

import cn.tedu._04mvcweibo.pojo.entity.User;
import cn.tedu._04mvcweibo.pojo.vo.UserVO;

public interface UserMapper {
    /**
     * 注册功能:查询接口
     * SELECT id,nickname,password FROM user WHERE username=#{username}
     */
    UserVO selectByUsername(String username);

    /**
     * 注册功能:存入数据
     */
    int insertUser(User user);
}





